#include "iostream"
#include "cstring"

using namespace std;

class Trapezium
{
private:
  int x1, y1, x2, y2, x3, y3, x4, y4;

public:
  void initial(int x1, int y1, int x2, int y2,
               int x3, int y3, int x4, int y4);
  void GetPosition(int &, int &, int &, int &, int &, int &, int &, int &);
  double Area();
};


void Trapezium::initial(int a, int b, int c, int d, int e, int f, int g, int h)
{
	if (b == d&&f == h)
	{
		x1 = a; y1 = b; x2 = c; y2 = d; x3 = e; y3 = f; x4 = g; y4 = h;
	}
	else
	{
		cout << "输入有误" << endl;
	}
}

